package whf.framework.workflow.engine;

/**
 * @author King
 *
 */
public class WorkflowConfig {
	private static ThreadLocal<WorkflowEngine> workflowEngine = new ThreadLocal<WorkflowEngine>();
	
	public static WorkflowEngine getWorkflowEngine() {
		if(workflowEngine.get() == null) {
			workflowEngine.set(new WorkflowEngineImpl());
		}
		return workflowEngine.get();
	}
}
